package com.dddexplained.designbootcamp.designpatterns.state.device.before;

public class Client {
    public void upgrade() {
        TelnetService telnetService = new TelnetService();

        telnetService.inactive();
        telnetService.get();
        telnetService.deleteFiles();
        telnetService.transfer();
        telnetService.active();
    }

    public static void main(String[] args) {
        Client client = new Client();
        client.upgrade();
    }
}
